package org.basis.algorithm.list.common;

import lombok.Data;

/**
 * 双向链表节点
 *
 * @author Mr_wenpan@163.com 2021/12/08 16:57
 */
@Data
public class PairNode<T extends Comparable<T>> {
    public T data;
    public PairNode<T> next;
    public PairNode<T> last;

    public PairNode() {
    }

    public PairNode(T data) {
        this.data = data;
    }
}
